package com.zsl.model;

/**
 * 分类表
 * 用于表明某个分类的信息
 */
public class Category {
    private String id;      //分类号
    private String name;    //分类名
    private String description; //分类描述
    private String is_deleted;  //是否删除

    public Category() {
    }

    public Category(String id, String name, String description) {
        this.id = id;
        this.name = name;
        this.description = description;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return "Category{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", description='" + description + '\'' +
                ", is_deleted='" + is_deleted + '\'' +
                '}';
    }
}
